package com.qiu.demo.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName(value = "big_article")
public class Article {

    @TableId(value = "acticle_id", type = IdType.AUTO)
    private Integer acticleId;

    @TableField(value = "title")
    private String title;
    @TableField(value = "content")
    private String content;
    @TableField(value = "cate_id")
    private String cateId;
    @TableField(value = "cover_img")
    private String coverImg;
    @TableField(value = "state")
    private String state;
    @TableField(value = "user_id")
    private String userId;
    @TableField(value = "pub_date")
    private LocalDateTime pubDate;
}
